#ifndef GEOMIPMAP_H_
#define GEOMIPMAP_H_

int geomipmap_num_lods(int chunksize);

int geomipmap_stitch_mask(bool left,bool right,bool top,bool bottom);

int geomipmap_num_tris(int chunksize,int lod,int stitchmask);

int geomipmap_num_ids(int chunksize,int lod,int stitchmask);

void geomipmap_gen_ids(int chunksize,int lod,int stitchmask,int width,int* buffer);

#endif